{{define "search_results"}}<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
    <head>
        <title>Search: /{{.BoardName}}/</title>
        <link rel="stylesheet" type="text/css" href="/static/board.css" />
        <script type="text/javascript" src="/static/general.js"></script>
    </head>

    <body>
        <header>
            {{ template "header" . }}
            <h4>{{ .ResultTotal }} result{{ if eq .ResultTotal 1 | not }}s{{end}} found.</h4>
        </header>
        <section id="middle">
        <hr/>
        {{ range .Threads }} {{ range .Tail }} {{template "tail" . }} {{ end }} {{ end }}
        </section>
        <footer>
            <nav id="jump">[ <a href="/{{.BoardName}}/">Return</a> ] [ <a href="#top">Top</a> ] </nav>
            {{ template "page_list" . }}
            {{ template "board_list" . }}
            <div class="info">Page generated {{.Generated}} ({{ .TimeElapsed }} ms)</div>
        </footer>
    </body>
</html>
{{end}}

